2000W / 48V LLC Battery-Charger  V1.00
L1_Math_Funktionen.c File Reference

Definition oft verwendeter Mathematik-Funktionen (Filter, Regler, usw.) More...

#include "StandardTypes.h"
#include "Preprocess.h"
#include "L1_Math_Funktionen.h"
Include dependency graph for L1_Math_Funktionen.c:

Go to the source code of this file.

Functions

SI_16 L1_PT1_Element (ST_PT1_ELEMENT *pstPt1Feld, SI_16 s16Input)
 Filter 1. Ordnung (PT1-Glied) More...
 
SI_16 L1_PI_Regler (ST_PI_WERTE *pstPiWerte, ST_PI_PARAMETER stPiParameter)
 PI-Regler. More...
 

Detailed Description

Definition oft verwendeter Mathematik-Funktionen (Filter, Regler, usw.)

Filter 1. Ordnung (PT1-Glied), PI-Regler (Parallelstruktur)

Date
01.02.2018
Author
Reichenbaecher, ISLE GmbH
Version
SVN: $Id$
Note
Prozessor: XMC140x
Compiler: DAVE-4.3.2
Remarks
Optionen: keine

Definition in file L1_Math_Funktionen.c.

Function Documentation

◆ L1_PI_Regler()

SI_16 L1_PI_Regler ( ST_PI_WERTE *  pstPiWerte,
ST_PI_PARAMETER  stPiParameter 
)

PI-Regler.

e = Soll - Ist Y = Y + e * Ki Max(Y), Min(Y) A = 2^N * e * Kp + Y
Max(A), Min(A)

Parameters
[in]pstPiWerteZeiger auf Struktur mit Integralspeicher (Y), Sollwert (Soll), Istwert (Ist), Fehlerabweichung (e) und Ausgangswert (A)
[in]stPiParameterStruktur mit den Reglerparametern (Kp, Ki, N) und den Begrenzungen (Max, Min)
Returns
SI_16, Reglerausgang (Stellgröße)

Definition at line 96 of file L1_Math_Funktionen.c.

Referenced by Bms_Spannungs_Regler(), and Lade_Spannungs_Regler().

Here is the caller graph for this function:

◆ L1_PT1_Element()

SI_16 L1_PT1_Element ( ST_PT1_ELEMENT *  pstPt1Feld,
SI_16  s16Input 
)

Filter 1. Ordnung (PT1-Glied)

Y = Y + Tk * (x-Yh)

Parameters
[in]pstPt1FeldZeiger auf Struktur mit Filterspeicher (Y) und Filterzeitkonstante (Tk)
[in]s16Inputaktuelle Eingangsgröße (x)
Returns
SI_16, gefilterter Wert der Eingangsgröße (Yh)

Definition at line 71 of file L1_Math_Funktionen.c.

Referenced by Berechnung_Spannungs_Anstieg(), L1_Filter_Lade_Istwerte(), L1_Steuerung_Fahrsperre(), and Lade_Spannungs_Begrenzung().

Here is the caller graph for this function: